<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>listMember.jsp</title>
</head>
<body>
<a href="MemberController?action=addMember">新增會員</a>
	<table border="1">
	<c:forEach items="${members }" var="m">
		<tr>
			<td>${m.id }</td>
			<td>${m.password1 }</td>
			<td>${m.password2 }</td>
			<td>${m.name_c }</td>
			<td>${m.name_a }</td>
			<td>${m.brith }</td>
			<td>${m.tel_area1 }</td>
			<td>${m.telephone1 }</td>
			<td>${m.telephone1_p }</td>
			<td>${m.mobile1 }</td>
			<td>${m.tel_area2 }</td>
			<td>${m.telephone2 }</td>
			<td>${m.telephone2_p }</td>
			<td>${m.mobile2 }</td>
			<td>${m.address1 }</td>
			<td>${m.address2 }</td>
			<td>${m.original }</td>
			<td>${m.professional }</td>
			<td>${m.company_num }</td>
			<td>${m.company_name }</td>
			<td>${m.company_job }</td>
			<td>${m.company_tel_area }</td>
			<td>${m.company_tel }</td>
			<td>${m.company_tel_p }</td>
			<td>${m.contact_name }</td>
			<td>${m.contact_keep }</td>
			<td>${m.contact_area }</td>
			<td>${m.contact_tel }</td>
			<td>${m.contact_tel_p }</td>
			<td>${m.email }</td>
			<td>
			<a href="MemberController?id=${m.id }&action=edit">修改</a>
			</td>
			<td>
			<a href="MemberController?id=${m.id }&action=delete">刪除</a>
			</td>
		</tr>
	</c:forEach>
	</table>
</body>
</html>